package com.stone.tool;

import com.stone.tool.config.SpringContextUtil;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import java.io.IOException;

@Slf4j
@SpringBootApplication
public class ToolApplication {

    public static void main(String[] args) throws IOException {
        SpringApplication.run(ToolApplication.class, args);


        log.info(SpringContextUtil.getProfile());
        log.info(SpringContextUtil.getProperty("file-path"));
    }

}
